<template>
  <el-row :gutter="8">
    <el-col :span="12">
      <el-divider>组织角色</el-divider>
      <role-table @rowClick="(row) => selectRole = row" />
    </el-col>
    <el-col :span="12">
      <el-divider>授权用户</el-divider>
      <user-role :select-role="selectRole" />
    </el-col>
  </el-row>
</template>

<script>
import RoleTable from "@/views/system/role/RoleTable";
import UserRole from "@/views/system/role/UserRole";
export default {
  name: "GroupRole",
  components: {UserRole, RoleTable },
  data(){
    return {
      selectRole: {}
    }
  }
}
</script>

<style scoped>

</style>
